﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Xetnghiem.ascx.cs" Inherits="Baiviet_Xetnghiem" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<link rel="Stylesheet" media="screen" type="text/css" href="../styles.css" /> 

<div class="aboutus_bg">
    <div class="about_col_taobaiviet_ajax_xn">
        <b>Nhập vào các xét nghiệm của bệnh nhân</b>  
        <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
            <ContentTemplate>
                <asp:Button ID="btn_add1" runat="server" Text="Add more" 
                    onclick="btn_add1_Click" />
            <fieldset id="fieldset1" visible="false" runat="server">
            <legend>Tên xét nghiệm : 
                <asp:TextBox ID="txt_xetngiem1" runat="server"></asp:TextBox></legend>    
          
          <table border="2">
            <tr>
                <td style="text-align:left">
                    <telerik:RadTreeView ID="RadTreeView1" runat="server" DataFieldID="madanhmuc" 
                        DataFieldParentID="madanhmuccha" DataSourceID="SqlDataSource1" 
                        DataTextField="tendanhmuc" Skin="Telerik" CheckBoxes="True" 
                        CheckChildNodes="True" DataValueField="madanhmuc">
                    </telerik:RadTreeView>
                    <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
                        ConnectionString="<%$ ConnectionStrings:forum %>" 
                        SelectCommand="SELECT * FROM [DANHMUC]"></asp:SqlDataSource>
                </td>
                <td style="width:300px;text-align:left;float:left">
                    <asp:Panel ID="Panel1_in" runat="server"></asp:Panel>
                </td>
            </tr>
            <tr>
                <td colspan="2" style="text-align:center">
                    <asp:Button ID="btn_capnhat1" runat="server" Text="Cập nhật" 
                        onclick="btn_capnhat1_Click" />
                    <asp:Button ID="btn_dong1" runat="server" Text="Đóng" Width="109px" 
                        onclick="btn_dong1_Click" />
                </td>
            </tr>
          </table>
          </fieldset> 
            </ContentTemplate>
        </asp:UpdatePanel>
        <asp:UpdatePanel ID="UpdatePanel2" runat="server" UpdateMode="Conditional">
            <ContentTemplate>
                <asp:Button ID="btn_add2" runat="server" Text="Add more" 
                    onclick="btn_add2_Click" Visible="false" />
            <fieldset visible="false" id="fieldset2" runat="server">
            <legend>Tên xét nghiệm : 
                <asp:TextBox ID="txt_xetngiem2" runat="server"></asp:TextBox></legend>    
          
          <table border="2">
            <tr>
                <td style="text-align:left">
                    <telerik:RadTreeView ID="RadTreeView2" runat="server" DataFieldID="madanhmuc" 
                        DataFieldParentID="madanhmuccha" DataSourceID="SqlDataSource1" 
                        DataTextField="tendanhmuc" Skin="Telerik" CheckBoxes="True" 
                        CheckChildNodes="True" DataValueField="madanhmuc">
                    </telerik:RadTreeView>
                    <asp:SqlDataSource ID="SqlDataSource2" runat="server" 
                        ConnectionString="<%$ ConnectionStrings:forum %>" 
                        SelectCommand="SELECT * FROM [DANHMUC]"></asp:SqlDataSource>
                </td>
                <td style="width:300px;text-align:left;float:left">
                    <asp:Panel ID="Panel2_in" runat="server"></asp:Panel>
                </td>
            </tr>
            <tr>
                <td colspan="2" style="text-align:center">
                    <asp:Button ID="btn_capnhat2" runat="server" Text="Cập nhật" 
                        onclick="btn_capnhat2_Click"/>
                    <asp:Button ID="btn_dong2" runat="server" Text="Đóng" Width="109px" 
                        onclick="btn_dong2_Click"/>    
                </td>
            </tr>
          </table>
          </fieldset> 
            </ContentTemplate>
            <Triggers>
                <asp:AsyncPostBackTrigger ControlID="btn_add1" EventName="Click" />
                <asp:AsyncPostBackTrigger ControlID="btn_dong1" EventName="Click"/>
            </Triggers>
        </asp:UpdatePanel>
        
        <br />
        
     </div>

     <div style="clear: both">
     </div>
</div>